package site.microkang.house.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.poi.ss.formula.functions.T;

/**
 * @author liukang
 * @date 2021/3/19 22:50
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ResponseParam<T> {

    private int code;

    private String message;

    private T data;

    public ResponseParam(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
